export type User = {
    [key: string]: any;
    id: number;
    username: string;
    name: string;
    phone: string;
    sex: string;
    address: string;
    email: string;
    avatar: string;
    userType: number;
    enabled: number;
    delFlag: string;
    createTime: string;
    updateTime: string;
    roleIds: string;
}
// 给后端发送的登录信息
export type LoginForm = {
    username: string
    password: string
    chapter: string
}
// 定义登录响应结构
export type LoginResult = {
    flag: boolean;
    code: number;
    message: string;
    data: {
        User: User;
        Permissions: string[];
        AccessToken: string;
        RefreshToken: string;
    };
}